----------------------------------------------------------------------------------------------------------------------------
       log:  Z:\interactionmodels\results\legislativeparties.log
  log type:  text
 opened on:  11 Jan 2007, 15:59:43

. *     ***************************************************************** *;
. *     ***************************************************************** *;
. *       File-Name:      legislativeparties.do                           *;
. *       Date:           01/11/2007                                      *;
. *       Author:         MRG                                             *;
. *       Purpose:        Provide results for legislative parties, Table 1*;
. *       Input File:     STATA_mozaffar.dta, golder1.dta                 *;
. *       Output File:    legislativeparties.log                          *;
. *       Data Output:    none                                            *;
. *       Previous file:                                                  *;
. *       Machine:                                                        *;
. *     ****************************************************************  *;
. *     ****************************************************************  *;
. set mem 10m;
(10240k)

. use getdata\STATA_mozaffar.dta;

. *     ****************************************************************  *;
. *                         Institutional Model                           *;
. *     ****************************************************************  *;
. regress legparties logmag10 proximity prescandidate prox_prescandidate, robust;

Regression with robust standard errors                 Number of obs =      62
                                                       F(  4,    57) =    7.32
                                                       Prob > F      =  0.0001
                                                       R-squared     =  0.4516
                                                       Root MSE      =  1.1536

------------------------------------------------------------------------------
             |               Robust
  legparties |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
    logmag10 |   .1733719   .1168389     1.48   0.143     -.060594    .4073378
   proximity |   -1.22142   .4539332    -2.69   0.009    -2.130405   -.3124342
prescandid~e |   .6007957   .1848137     3.25   0.002     .2307128    .9708787
prox_presc~e |   .1388049   .2913628     0.48   0.636    -.4446391    .7222489
       _cons |   1.426534   .2343787     6.09   0.000     .9571986    1.895869
------------------------------------------------------------------------------

. *     ****************************************************************  *;
. *                           Sociological Model                          *;
. *     ****************************************************************  *;
. regress legparties  fragmentation concentration frag_conc, robust;

Regression with robust standard errors                 Number of obs =      62
                                                       F(  3,    58) =    6.81
                                                       Prob > F      =  0.0005
                                                       R-squared     =  0.4007
                                                       Root MSE      =  1.1956

------------------------------------------------------------------------------
             |               Robust
  legparties |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
fragmentat~n |  -.3472055   .1235835    -2.81   0.007    -.5945847   -.0998263
concentrat~n |  -.1966835   .2669845    -0.74   0.464    -.7311111     .337744
   frag_conc |   .2558319   .0837544     3.05   0.003     .0881793    .4234845
       _cons |   2.079945   .2306208     9.02   0.000     1.618308    2.541583
------------------------------------------------------------------------------

. *     ****************************************************************  *;
. *                       Additive Sociological Model                     *;
. *     ****************************************************************  *;
. regress legparties  fragmentation concentration frag_conc logmag10 proximity 
>         prescandidate prox_prescandidate, robust;

Regression with robust standard errors                 Number of obs =      62
                                                       F(  7,    54) =    8.88
                                                       Prob > F      =  0.0000
                                                       R-squared     =  0.6902
                                                       Root MSE      =  .89081

------------------------------------------------------------------------------
             |               Robust
  legparties |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
fragmentat~n |  -.2506207    .097681    -2.57   0.013    -.4464592   -.0547821
concentrat~n |   -.535042   .1922578    -2.78   0.007    -.9204956   -.1495884
   frag_conc |   .2382385   .0607144     3.92   0.000     .1165135    .3599636
    logmag10 |   .3440826   .1241334     2.77   0.008     .0952101    .5929551
   proximity |  -.8342611    .455975    -1.83   0.073    -1.748436    .0799138
prescandid~e |   .5398099   .1876407     2.88   0.006      .163613    .9160069
prox_presc~e |  -.0293437   .2955283    -0.10   0.921    -.6218422    .5631549
       _cons |   1.445652   .2751781     5.25   0.000     .8939535    1.997351
------------------------------------------------------------------------------

. *     ****************************************************************  *;
. *                       Interactive Socio-Institutional Model           *;
. *     ****************************************************************  *;
. regress legparties  fragmentation concentration logmag10 frag_conc logmag10_frag  
> logmag10_conc logmag10_frag_conc proximity prescandidate prox_prescandidate, robust;

Regression with robust standard errors                 Number of obs =      62
                                                       F( 10,    51) =   18.12
                                                       Prob > F      =  0.0000
                                                       R-squared     =  0.7566
                                                       Root MSE      =  .81255

------------------------------------------------------------------------------
             |               Robust
  legparties |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
fragmentat~n |  -.3061517   .1244102    -2.46   0.017    -.5559156   -.0563877
concentrat~n |   .1077863   .2720849     0.40   0.694    -.4384468    .6540195
    logmag10 |   .6576745   .4536982     1.45   0.153    -.2531626    1.568512
   frag_conc |   .1468926   .0486345     3.02   0.004     .0492546    .2445305
logmag10_f~g |   -.072974   .1039821    -0.70   0.486    -.2817268    .1357788
logmag10_c~c |  -.8640806   .3508728    -2.46   0.017    -1.568487    -.159674
~0_frag_conc |     .17936   .0804572     2.23   0.030     .0178355    .3408846
   proximity |  -.5792874   .4341616    -1.33   0.188    -1.450903    .2923284
prescandid~e |   .4972876   .1789268     2.78   0.008      .138077    .8564981
prox_presc~e |   .0357922   .2703231     0.13   0.895     -.506904    .5784883
       _cons |   1.274294   .3003618     4.24   0.000     .6712925    1.877295
------------------------------------------------------------------------------

. *     ****************************************************************  *;
. *                  Interactive Socio-Institutional Model                *;
. *               with corrected data (last column, table 1)              *;
. *     ****************************************************************  *;
. clear;

. use getdata\golder1.dta;

. * Now do recode of concentration (see paper fn 3 and p.6 for details)  *;
.                      gen conc1 = concentration;
(38 missing values generated)

. replace conc1 = 3 if (fragmentation==1 & concentration==0);
(11 real changes made)

. gen frag_conc1 = fragmentation*conc1;
(38 missing values generated)

. gen logmag_conc1_nyu = logmag_nyu*conc1;
(38 missing values generated)

. gen frag_conc1_logmag_nyu = fragmentation*conc1*logmag_nyu;
(38 missing values generated)

. replace conc1 = 3 if conc1>3 & conc1!=.;
(3 real changes made)

. regress legparties_nyu  fragmentation conc1 logmag_nyu 
>         frag_conc_nyu logmag_frag_nyu logmag_conc1_nyu 
>         frag_conc1_logmag_nyu proximity_nyu prescandidate_nyu 
>         prox_prescandidate_nyu, robust;

Regression with robust standard errors                 Number of obs =      62
                                                       F( 10,    51) =   16.36
                                                       Prob > F      =  0.0000
                                                       R-squared     =  0.7306
                                                       Root MSE      =  1.0854

------------------------------------------------------------------------------
             |               Robust
legparties~u |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
fragmentat~n |  -.0298498    .207579    -0.14   0.886     -.446582    .3868825
       conc1 |   .2905494   .2921525     0.99   0.325    -.2959712      .87707
  logmag_nyu |     .22859   .4699838     0.49   0.629    -.7149419    1.172122
frag_conc_~u |   .0129148    .071531     0.18   0.857    -.1306896    .1565193
logmag~g_nyu |  -.0705713   .0831744    -0.85   0.400    -.2375509    .0964083
logmag~1_nyu |  -.3249581   .2145426    -1.51   0.136    -.7556704    .1057541
frag_conc1~u |   .1127178   .0450304     2.50   0.016     .0223154    .2031201
proximity_~u |  -.6113184   .5871686    -1.04   0.303    -1.790109    .5674717
prescandid~u |   1.248725    .403605     3.09   0.003     .4384543    2.058996
prox_presc~u |  -.5032746   .3759861    -1.34   0.187    -1.258098     .251549
       _cons |   .3000681   1.105572     0.27   0.787    -1.919461    2.519597
------------------------------------------------------------------------------

. *     ****************************************************************  *;
. *                       Replication complete.                           *;
. *     ****************************************************************  *;
.               log close;
       log:  Z:\interactionmodels\results\legislativeparties.log
  log type:  text
 closed on:  11 Jan 2007, 15:59:44
----------------------------------------------------------------------------------------------------------------------------
